package com.atguigu.guli.service.edu.feign.fallback;

import com.atguigu.guli.service.base.result.R;
import com.atguigu.guli.service.edu.feign.OssFileFeign;
import org.springframework.stereotype.Service;

@Service
public class OssFileServiceFallBack implements OssFileFeign {
    @Override
    public R test() {
        return R.error().message("测试异常");
    }

    @Override
    public R delete(String url) {
        return R.error().message("删除异常");
    }
}
